package com.scau.database.entity.stockbuyer;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.scau.database.utils.annotations.Transform;
import lombok.Data;

/**
 * 承接工厂
 *         id: 1,
 *         name: '华农一厂',
 *         address: '华南农业大学泰山区创客空间',
 *         email: '419314472@qq.com',
 *         phone: '15916250000',
 *         leader: '郑厂长',
 *         main_camp: '耳机'
 */
@Data
public class FactoryVO {
    @TableField("id")
    private Integer id;
    @TableField("name")
    private String name;
    @TableField("address")
    private String address;
    @TableField("email")
    private String email;
    @TableField("phone")
    private String phone;
    @TableField("leader")
    private String leader;
    @TableField("main_camp")
    @Transform("main_camp")
    private String mainCamp;
}
